package com.huitong.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * Gateway配置
 *
 * @author fromdrowning
 * @date 2024/3/17 12:55
 */
@Data
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "spring.cloud.gateway")
public class RequestLogProperties {

    /**
     * 是否开启请求日志 默认{@code false}
     */
    private boolean requestLog = false;

}
